[][src]Crate polyhorn_core

Macros

use_async
use_context
use_effect
use_id
use_reference
use_state

Structs

Context
ContextProvider
ContextTree
Disposable
Instance
Key

Key is a dynamically typed wrapper around any type that implements Any + Eq + Hash (note that Any implies 'static). Key acts as a transparent wrapper for these traits, where Eq and PartialEq in particular perform dynamic type checks before determining value equality.

Link
Manager
Memory
Reference
Renderer
State

Enums

Element

Traits

Builtin
Bus
CommandBuffer
Component
Compositor
Container
Platform

This is a platform that needs to be implemented by every render host.

Trigger
UseAsync
UseContext
UseEffect
UseReference
UseState

Functions

render

This is the entry point of Polyhorn. This function renders an element into the given container. The returned instance must be retained. Once the returned is dropped, all UI will be unmounted.